package com.example.wacoffee_user.pojo.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("coupon")
public class coupon {
    private int id;
    private String name;
    private double minAmount;
    private double value;
    private LocalDateTime startTime;
    private LocalDateTime endTime;
    private String description;
    private int stock;
    private int status;
    @TableField(exist = false)
    private int uid;
}
